<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>{$pagetitle}</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="/static/admin/layui/css/layui.css" media="all">
</head>
<body>


  <div class="layui-form" lay-filter="layuiadmin-app-form-list" id="layuiadmin-app-form-list" style="padding: 20px 30px 0 0;">
    <div class="layui-form-item">
      <label class="layui-form-label">ID</label>
      <div class="layui-form-mid">{$r.id}</div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">User Id</label>
      <div class="layui-form-mid">{$r.userid}</div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">用户名</label>
      <div class="layui-form-mid">{$r.username}</div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">操作时间</label>
      <div class="layui-form-mid">{:date("Y-m-d H:i:s",$r['addtime'])}</div>	
	</div>
    <div class="layui-form-item">
      <label class="layui-form-label">操作对象</label>
      <div class="layui-form-mid"><span class="layui-breadcrumb" lay-separator="-" lay-filter="breadcrumb">{$r.nodestr|raw}</span></div>	
	</div>
    <div class="layui-form-item">
      <label class="layui-form-label">操作类型</label>
      <div class="layui-form-mid">{$typeInc[$r['type']]}</div>	
	</div>
    <div class="layui-form-item">
      <label class="layui-form-label">ip</label>
      <div class="layui-form-mid">{$r.ip}</div>	
	</div>
    <div class="layui-form-item">
      <label class="layui-form-label">操作表名</label>
      <div class="layui-form-mid">{$r.table_name}</div>	
	</div>
    <div class="layui-form-item">
      <label class="layui-form-label">主键ID</label>
      <div class="layui-form-mid">{$r.primary_key}</div>	
	</div>
    <div class="layui-form-item">
      <label class="layui-form-label">URL</label>
      <div class="layui-form-mid">{$r.url}</div>	
	</div>					
    <div class="layui-form-item">
      <label class="layui-form-label">备注</label>
      <div class="layui-input-block"><textarea style="width:100%; height:100px;">{$r['remark']?$r['remark']:"-"}</textarea></div>	
	</div>	

	
	<div class="layui-form-item">
		<div class="layui-input-block">
		  <button type="reset" class="layui-btn layui-btn-primary close">关闭</button>
		</div>
	</div>
  </div>

  <script src="/static/admin/layui/layui.js"></script>
  <script src="/static/js/jquery.min.js"></script>    
  <script src="/static/js/globals.js"></script>  
  <script>
  layui.config({
    base: '/static/admin/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'form'], function(){
    var $ = layui.$
    ,form = layui.form;
  })
  </script>
</body>
</html>